const db = require('./db')

const YonghuSchema = new db.mongoose.Schema({
    mobile: {
        type: String,
        required: true
    },
    password: {
        type: String,
        required: true,
    },
    age: {
        type: String,
        required: true,
    },
    height:{
        type: Number,
        required: true,
    },
    name:{
        type: String,
        required: true,
    },
    constellation:{
        type: String,
        required: true,
    }
})


module.exports = db.mongoose.model("yonghu", YonghuSchema);